<?php

class UpgradeAccountStatementPageLink extends Extension {
	function getUpgradeAccountStatement(){
        $page = UpgradeAccountStatementPage::get()->find('ClassName', 'UpgradeAccountStatementPage');
        if($page) return $page;
    }
    
    function getUpgradeAccountStatementLink() {
        $page = $this->getUpgradeAccountStatement();
        if($page) return $page->Link();
    }
}
